<template>
  <el-dialog class="addCombinationOpen" top="20vh" :visible.sync="visible" title="选择组合" :close-on-click-modal="false" :modal="true">
    <combination :isOpen="true" @selctCombination="selctCombination"></combination>
  </el-dialog>
</template>

<script>
import combination from '../combination/index.vue'

export default {
  components: { combination },
  data() {
    return {
      visible: false,
    }
  },
  methods: {
    init() {
      this.visible = true
    },
    selctCombination(params) {
      this.$emit('selctCombination', params)
      this.visible = false
    },
  }
}
</script>


